<template>
  <!-- <form>
      姓名：<input /> 邮箱：<input />
      <button>新增</button>
    </form>
    <div v-for="(item, index) in dataSource">
      {{ item.id }}:{{ item.username }}:{{ item.email }}
      {{ `${item.id}:${item.username}` }}
    </div> -->
</template>
<script setup>
import request from "../../utils/request";
import { ref } from "vue";

const getData = () => {
  return request({
    url: "/user",
    method: "get",
    params: {},
  }).then((res) => {
    dataSource.value = res.data.data.record;
  });
};
</script>
<style></style>
